
import Layout from '@/layout'
export default {
  path: '/transport',
  component: Layout,
  meta: {
    title: '调度管理',
    icon: 'el-icon-set-up'
  },
  children: [{
    path: 'task',
    meta: {
      title: '运输任务管理'
    },
    component: () => import('@/views/transport/task')
  }, {
    path: 'line',
    meta: {
      title: '线路管理'
    },
    component: () => import('@/views/transport/line')
  }, {
    path: 'pick',
    meta: {
      title: '取件作业管理'
    },
    component: () => import('@/views/transport/pick')
  }, {
    path: 'dispatch',
    meta: {
      title: '派件作业管理'
    },
    component: () => import('@/views/transport/dispatch')
  },
  {
    path: 'task-detail/:id?',
    name: 'task-detail',
    meta: {
      title: '派件作业管理', backHeader: true
    },
    hidden: true,
    component: () => import('@/views/transport/components/task-detail.vue')
  },

  { path: 'dispick',
    meta: {
      title: '快递作业'
    },
    hidden: true,

    component: () => import('@/views/transport/dispick')
  }
  ]
}
